package com.ayf.payment.game.api.service.platform;

import com.ayf.payment.game.api.dto.platform.MerchantSettleRateConfigDTO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface MerchantSettleRateConfigService {
  @Transactional
  void insertMerchantSettleRateConfigs(List<MerchantSettleRateConfigDTO> list, Integer rateId);
  @Transactional
  void delMerchantSettleRateConfigs(Integer rateId);

  void updateMerchantSettleRateConfig(MerchantSettleRateConfigDTO merchantSettleRateConfigDTO);

    /**
     *
     * @author lch
     * @date 2022/3/7
     */
	MerchantSettleRateConfigDTO getById(Integer id);

	/**
	 * 根据产品id获取
	 * @author lch
	 * @date 2022/3/7
	 */
	MerchantSettleRateConfigDTO getByPayProductId(Integer payProductId);
}
